package com.globallogic.capacitaciones.hibernate.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="custom_bank_account")
public class BankAccount extends BillingDetails {
	private String number;
	private String bankName;
	private String swift;
	public BankAccount(){
		super();
	}
	
	public BankAccount(String ownername, String number, String bankName,
			String swift) {
		super(ownername);
		this.number = number;
		this.bankName = bankName;
		this.swift = swift;
	}

	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getSwift() {
		return swift;
	}

	public void setSwift(String swift) {
		this.swift = swift;
	}
	
}
